/**
 * FileName: DoctorServiceImpl
 * Author:   P
 * Date:     2021/3/17 13:58
 * Description:
 */
package com.hospital.nurse.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hospital.nurse.mapper.DoctorMapper;
import com.hospital.nurse.pojo.Doctor;
import com.hospital.nurse.service.DoctorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor> implements DoctorService {

    @Autowired
    private DoctorMapper mapper;


    @Override
    public List<Doctor> findAllDcotor(int did) {
        return mapper.findAllDcotor(did);
    }
}
